 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }
    
    :root {
      --primary-green: #28a745;
      --primary-blue: #1e88e5;
      --primary-orange: #ff9800;
      --primary-red: #e53935;
      --light-bg: #f8f9fa;
      --card-bg: #ffffff;
      --text-dark: #2c3e50;
      --text-medium: #555;
      --text-light: #777;
      --chart-green: #66bb6a;
      --chart-blue: #42a5f5;
      --chart-red: #ef5350;
      --chart-orange: #ffa726;
      --shadow-light: 0 3px 12px rgba(0, 0, 0, 0.06);
      --shadow-medium: 0 6px 25px rgba(0, 0, 0, 0.1);
    }
    
    body {
      background-color: var(--light-bg);
      color: var(--text-dark);
      line-height: 1.6;
      background: linear-gradient(135deg, #f8f9fa 0%, #eef7f8 100%);
      min-height: 100vh;
      padding: 20px;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
    }
     /* 健康数据页面样式 */
    .health-data-page {
      background: linear-gradient(to bottom, #e8f5e9, #f1f8e9);
      min-height: 100vh;
      padding: 100px 0 60px;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      margin-top: 30px;
    }
    
    .health-container {
      max-width: 1200px;
      margin: 0 auto;
      background: white;
      border-radius: 25px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
      overflow: hidden;
    }
    
    .health-header {
      background: linear-gradient(90deg, var(--primary-green), #2ecc71);
      color: white;
      padding: 35px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .health-title {
      font-size: 36px;
      font-weight: 700;
    }
    
    .back-btn {
      background: rgba(255, 255, 255, 0.2);
      color: white;
      border: none;
      padding: 15px 30px;
      border-radius: 30px;
      cursor: pointer;
      font-size: 18px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: all 0.3s;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .back-btn:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateX(-5px);
    }
    
    .health-content {
      padding: 40px;
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: 40px;
    }
    
    .personal-info {
      background: #f8f9ff;
      border-radius: 20px;
      padding: 30px;
      box-shadow: var(--shadow-light);
      position: relative;
      overflow: hidden;
    }
    
    .info-badge {
      position: absolute;
      top: 0;
      right: 0;
      background: linear-gradient(135deg, #4caf50, #2e7d32);
      color: white;
      padding: 8px 15px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 0 0 0 10px;
    }
    
    .avatar-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 30px;
      position: relative;
    }
    
    .avatar-placeholder {
      width: 160px;
      height: 160px;
      background: linear-gradient(45deg, #e0f7fa, #b2ebf2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 25px;
      font-size: 50px;
      color: #0097a7;
      border: 4px solid var(--primary-green);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .user-name {
      font-size: 28px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 5px;
      text-align: center;
    }
    
    .user-age {
      font-size: 22px;
      color: var(--text-medium);
      text-align: center;
    }
    
    .info-section {
      margin-bottom: 35px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      padding-bottom: 20px;
    }
    
    .info-section:last-child {
      border-bottom: none;
    }
    
    .section-title {
      font-size: 22px;
      font-weight: 600;
      color: var(--primary-green);
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid rgba(40, 167, 69, 0.3);
    }
    
    .info-item {
      margin-bottom: 18px;
      padding-left: 35px;
      position: relative;
      font-size: 18px;
    }
    
    .info-item i {
      position: absolute;
      left: 0;
      top: 3px;
      color: var(--primary-green);
      font-size: 22px;
    }
    
    .charts-container {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    
    .chart {
      background: white;
      border-radius: 20px;
      box-shadow: var(--shadow-light);
      padding: 30px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }
    
    .chart:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }
    
    .chart-title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 25px;
      color: var(--text-dark);
      display: flex;
      justify-content: space-between;
    }
    
    .chart-value {
      font-weight: 700;
      font-size: 24px;
    }
    
    .chart-content {
      height: 320px;
      position: relative;
    }
.chart-canvas {
      width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      flex-direction: column;
    }
    
    .chart-grid {
      flex: 1;
      position: relative;
      border-left: 2px solid #ddd;
      border-bottom: 2px solid #ddd;
    }
    
    .y-axis {
      position: absolute;
      left: -45px;
      top: 0;
      bottom: 0;
      width: 45px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding-right: 5px;
      font-size: 16px;
      color: #666;
    }
    
    .y-label {
      text-align: right;
      transform: translateY(50%);
    }
    
    .x-axis {
      display: flex;
      justify-content: space-between;
      padding: 5px 0 0 45px;
      height: 35px;
      border-top: 1px solid #eee;
      color: #666;
      font-size: 16px;
    }
    
    .x-label {
      text-align: center;
      flex: 1;
    }
    
    .line-path {
      fill: none;
      stroke-width: 4;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: all 0.5s;
    }
    
    .data-point {
      position: absolute;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      border: 3px solid white;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      transition: all 0.3s;
    }
    
    .point-label {
      position: absolute;
      font-size: 14px;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.95);
      padding: 6px 10px;
      border-radius: 6px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      transform: translateX(-50%);
      z-index: 20;
      white-space: nowrap;
      transition: all 0.3s;
    }
    
    /* 网格线 */
    .grid-line {
      position: absolute;
      left: 0;
      right: 0;
      height: 1px;
      background: rgba(0, 0, 0, 0.05);
    }
    
    /* 图表颜色样式 */
    .trend-chart .line-path {
      stroke: var(--chart-orange);
      stroke-width: 4;
    }
    
    .trend-chart .data-point {
      background-color: var(--chart-orange);
    }
    
    .trend-chart .point-label {
      color: var(--chart-orange);
    }
    
    .trend-chart .chart-value {
      color: var(--chart-orange);
    }
    
    .oxygen-chart .line-path {
      stroke: var(--chart-blue);
      stroke-width: 4;
    }
    
    .oxygen-chart .data-point {
      background-color: var(--chart-blue);
    }
    
    .oxygen-chart .point-label {
      color: var(--chart-blue);
    }
    
    .oxygen-chart .chart-value {
      color: var(--chart-blue);
    }
    
    .sugar-chart .line-path {
      stroke: var(--chart-red);
      stroke-width: 4;
    }
    
    .sugar-chart .data-point {
      background-color: var(--chart-red);
    }
    
    .sugar-chart .point-label {
      color: var(--chart-red);
    }
    
    .sugar-chart .chart-value {
      color: var(--chart-red);
    }
    
    /* 响应式设计 */
    @media (max-width: 992px) {
      .hero-content {
        flex-direction: column;
        height: auto;
      }
      
      .hero-text, .elder-photo {
        width: 100%;
        position: static;
      }
      
      .elder-photo {
        height: 500px;
        margin-top: 40px;
        transform: none;
        top: auto;
        right: auto;
        width: 100%;
      }
      
      .stats-container {
        flex-direction: column;
        gap: 25px;
      }
      
      .health-content {
        grid-template-columns: 1fr;
      }
      
      .personal-info {
        padding: 30px;
        margin-bottom: 30px;
      }
      
      .chart {
        padding: 25px;
      }
      
      .hero-title {
        font-size: 36px;
      }
      
      .health-title {
        font-size: 28px;
      }
    }
    
    @media (max-width: 768px) {
      .nav-container {
        flex-direction: column;
        gap: 15px;
      }
      
      .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
      }
      
      .hero {
        padding: 30px;
      }
      
      .hero-description {
        max-width: 100%;
        font-size: 18px;
      }
      
      .platform-slogan {
        font-size: 32px;
      }
      
      .slogan-sub {
        font-size: 20px;
      }
      
      .chart-content {
        height: 280px;
      }
    }
    
    /* 动画 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
      animation: fadeIn 0.8s ease;
    }
    
    /* 图表浮动效果 */
    .chart:hover .point-label {
      transform: translate(-50%, -10px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }